const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      '/api': {
        target: "http://khgw.xlvcheng.com",
        changeOrigin: true
      }
    },
  },
  css: {
    loaderOptions: {
      scss: {
        additionalData: `
          @use "~@/assets/style/color.scss" as color;
          @use "~@/assets/style/function.scss" as fn;
        `
      },
    },
  }
})
